//
//  UIViewController+HUD.h
//  JFPayMent
//
//  Created by lixiqing on 2017/7/30.
//  Copyright © 2017年 XQ. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface UIViewController (HUD)
-(void)showSuccess:(NSString *)success;
-(void)showSuccess:(NSString *)success duration:(CGFloat)second;
-(void)showError:(NSString *)error;
-(void)showError:(NSString *)error duration:(CGFloat)second;
-(void)showMessage:(NSString *)message;
-(void)showWaiting;
-(void)showLoading;
-(void)showLoadingWithMessage:(NSString *)message;
-(void)showSaving;
-(void)hideHUD;
-(UIView*)tipViewImage:(NSString*)imag title:(NSString*)title; //提示View
//-(void)showAlertTitle:(NSString*)title detailTitle:(NSString*)detailTitle sureBtnTitle:(NSString*)btnTitle jumpToVC:(UIViewController*)vc;

/** 检测定位功能是否开启 */
-(void)showAlerCLLocationManagerAuthorizationStatus:(BOOL)isAlreadyShow;
@end
